<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: D:/doxy/PublicAPI/ATECCore/ATWindowFuncs.h 文件参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_52a01df1794e5beec01860bdd05aea48.html">PublicAPI</a></li><li class="navelem"><a class="el" href="../../dir_b036ea399c584d2b2a32165352c4a594.html">ATECCore</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">函数</a>  </div>
  <div class="headertitle"><div class="title">ATWindowFuncs.h 文件参考</div></div>
</div><!--header-->
<div class="contents">

<p><a href="../../d5/d93/_a_t_window_funcs_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a9e904af3d296778e189c1e5dc794e8ab"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d93/_a_t_window_funcs_8h.html#a9e904af3d296778e189c1e5dc794e8ab">atWindow_contentRectGetLocal</a> (ATEC_NAMESPACE_NAME::ATRectP contentRectP, ATWindowP wndP)</td></tr>
<tr class="memdesc:a9e904af3d296778e189c1e5dc794e8ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">以窗体局部坐标的方式获取窗体内容矩形  <a href="../../d5/d93/_a_t_window_funcs_8h.html#a9e904af3d296778e189c1e5dc794e8ab">更多...</a><br /></td></tr>
<tr class="separator:a9e904af3d296778e189c1e5dc794e8ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30a46f2548012ee5aca90e27b3b48d29"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d93/_a_t_window_funcs_8h.html#a30a46f2548012ee5aca90e27b3b48d29">atWindow_extentSet</a> (ATWindowP wndP, int newWidth, int newHeight)</td></tr>
<tr class="memdesc:a30a46f2548012ee5aca90e27b3b48d29"><td class="mdescLeft">&#160;</td><td class="mdescRight">调整窗体的大小  <a href="../../d5/d93/_a_t_window_funcs_8h.html#a30a46f2548012ee5aca90e27b3b48d29">更多...</a><br /></td></tr>
<tr class="separator:a30a46f2548012ee5aca90e27b3b48d29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70c7deaaa5398f820c8d49a8cc8bcf65"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d93/_a_t_window_funcs_8h.html#a70c7deaaa5398f820c8d49a8cc8bcf65">atWindow_getSelectedViewIndex</a> ()</td></tr>
<tr class="memdesc:a70c7deaaa5398f820c8d49a8cc8bcf65"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前选择的视口窗体的索引（索引从0开始）  <a href="../../d5/d93/_a_t_window_funcs_8h.html#a70c7deaaa5398f820c8d49a8cc8bcf65">更多...</a><br /></td></tr>
<tr class="separator:a70c7deaaa5398f820c8d49a8cc8bcf65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86a536dc794afeeea2f3121e3bd30fb8"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d93/_a_t_window_funcs_8h.html#a86a536dc794afeeea2f3121e3bd30fb8">atWindow_globalRectGetGlobal</a> (ATEC_NAMESPACE_NAME::ATRectP rP, ATWindowP wndP)</td></tr>
<tr class="memdesc:a86a536dc794afeeea2f3121e3bd30fb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取全局坐标表示的窗体全局矩形  <a href="../../d5/d93/_a_t_window_funcs_8h.html#a86a536dc794afeeea2f3121e3bd30fb8">更多...</a><br /></td></tr>
<tr class="separator:a86a536dc794afeeea2f3121e3bd30fb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a47d2dd0da8366e17b368ad5eb93807"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d93/_a_t_window_funcs_8h.html#a9a47d2dd0da8366e17b368ad5eb93807">atWindow_hide</a> (ATWindowP wndP, HideReasonCode reasonCode, bool bypassFocusOut)</td></tr>
<tr class="memdesc:a9a47d2dd0da8366e17b368ad5eb93807"><td class="mdescLeft">&#160;</td><td class="mdescRight">临时隐藏一个窗体  <a href="../../d5/d93/_a_t_window_funcs_8h.html#a9a47d2dd0da8366e17b368ad5eb93807">更多...</a><br /></td></tr>
<tr class="separator:a9a47d2dd0da8366e17b368ad5eb93807"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09cd3b80e0f460224dd0d28206e98220"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d93/_a_t_window_funcs_8h.html#a09cd3b80e0f460224dd0d28206e98220">atWindow_isVisible</a> (ATWindowP wndP)</td></tr>
<tr class="memdesc:a09cd3b80e0f460224dd0d28206e98220"><td class="mdescLeft">&#160;</td><td class="mdescRight">检查一个窗体是否可见  <a href="../../d5/d93/_a_t_window_funcs_8h.html#a09cd3b80e0f460224dd0d28206e98220">更多...</a><br /></td></tr>
<tr class="separator:a09cd3b80e0f460224dd0d28206e98220"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a575a694e53d80290a31eb2af14af4246"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d93/_a_t_window_funcs_8h.html#a575a694e53d80290a31eb2af14af4246">atWindow_isDisplayed</a> (ATWindowP wndP)</td></tr>
<tr class="memdesc:a575a694e53d80290a31eb2af14af4246"><td class="mdescLeft">&#160;</td><td class="mdescRight">检查一个窗体是否正在显示  <a href="../../d5/d93/_a_t_window_funcs_8h.html#a575a694e53d80290a31eb2af14af4246">更多...</a><br /></td></tr>
<tr class="separator:a575a694e53d80290a31eb2af14af4246"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed33aa58227a9e79308d52a4f349e1ab"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d93/_a_t_window_funcs_8h.html#aed33aa58227a9e79308d52a4f349e1ab">atWindow_isMaximized</a> (ATWindowP wndP)</td></tr>
<tr class="memdesc:aed33aa58227a9e79308d52a4f349e1ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">窗体是否已最大化  <a href="../../d5/d93/_a_t_window_funcs_8h.html#aed33aa58227a9e79308d52a4f349e1ab">更多...</a><br /></td></tr>
<tr class="separator:aed33aa58227a9e79308d52a4f349e1ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57c2ced222e47169232e6df999505292"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d93/_a_t_window_funcs_8h.html#a57c2ced222e47169232e6df999505292">atWindow_maximize</a> (ATWindowP wndP)</td></tr>
<tr class="memdesc:a57c2ced222e47169232e6df999505292"><td class="mdescLeft">&#160;</td><td class="mdescRight">将窗体最大化  <a href="../../d5/d93/_a_t_window_funcs_8h.html#a57c2ced222e47169232e6df999505292">更多...</a><br /></td></tr>
<tr class="separator:a57c2ced222e47169232e6df999505292"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa53d231e7a006a12c8643d58926c5031"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d93/_a_t_window_funcs_8h.html#aa53d231e7a006a12c8643d58926c5031">atWindow_globalPointToScreen</a> (ATEC_NAMESPACE_NAME::Point2d *screenPtP, ATWindowP wndP, ATEC_NAMESPACE_NAME::Point2dCP globalPtP)</td></tr>
<tr class="memdesc:aa53d231e7a006a12c8643d58926c5031"><td class="mdescLeft">&#160;</td><td class="mdescRight">将全局坐标系下的一个点转化为给定窗体的屏幕坐标  <a href="../../d5/d93/_a_t_window_funcs_8h.html#aa53d231e7a006a12c8643d58926c5031">更多...</a><br /></td></tr>
<tr class="separator:aa53d231e7a006a12c8643d58926c5031"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e67caed783e5e4e50e5fcc60e9e8087"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d93/_a_t_window_funcs_8h.html#a0e67caed783e5e4e50e5fcc60e9e8087">atWindow_isGlobalPointConversionRequired</a> (int screenNum)</td></tr>
<tr class="memdesc:a0e67caed783e5e4e50e5fcc60e9e8087"><td class="mdescLeft">&#160;</td><td class="mdescRight">当Ribbon界面存在时，为了正确的定位弹出窗的位置，全局坐标需要一个考虑Ribbon高度的转换，该接口用于判断是否需要该转换  <a href="../../d5/d93/_a_t_window_funcs_8h.html#a0e67caed783e5e4e50e5fcc60e9e8087">更多...</a><br /></td></tr>
<tr class="separator:a0e67caed783e5e4e50e5fcc60e9e8087"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab23738ab213194dd151de933a65545a8"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d93/_a_t_window_funcs_8h.html#ab23738ab213194dd151de933a65545a8">atWindow_globalPointConversionIncrease</a> (ATEC_NAMESPACE_NAME::Point2d *newGlobalPtP, ATWindowP wndP, ATEC_NAMESPACE_NAME::Point2dCP oldGlobalPtP)</td></tr>
<tr class="memdesc:ab23738ab213194dd151de933a65545a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">当Ribbon界面存在时，为了正确的定位弹出窗的位置，全局坐标需要一个考虑Ribbon高度的转换，该接口用于将全局点考虑Ribbon高度进行一个转换  <a href="../../d5/d93/_a_t_window_funcs_8h.html#ab23738ab213194dd151de933a65545a8">更多...</a><br /></td></tr>
<tr class="separator:ab23738ab213194dd151de933a65545a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4c30e824399371b6bcbb2bc9a6b9db4"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d93/_a_t_window_funcs_8h.html#aa4c30e824399371b6bcbb2bc9a6b9db4">atWindow_resize</a> (ATWindowP wndP, int cornerNum, ATEC_NAMESPACE_NAME::Point2dCP newPositionP)</td></tr>
<tr class="separator:aa4c30e824399371b6bcbb2bc9a6b9db4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bc2fd51275566da931c7eb6606bb7c3"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d93/_a_t_window_funcs_8h.html#a3bc2fd51275566da931c7eb6606bb7c3">atWindow_setSystemCursor</a> (SYSTEMCURSOR systemCursor)</td></tr>
<tr class="memdesc:a3bc2fd51275566da931c7eb6606bb7c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">将鼠标光标设置为SYSTEMCURSOR枚举中定义的某一系统光标  <a href="../../d5/d93/_a_t_window_funcs_8h.html#a3bc2fd51275566da931c7eb6606bb7c3">更多...</a><br /></td></tr>
<tr class="separator:a3bc2fd51275566da931c7eb6606bb7c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6510ac9c5535ce8a1459cd9e8ead5f8"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d93/_a_t_window_funcs_8h.html#af6510ac9c5535ce8a1459cd9e8ead5f8">atWindow_show</a> (ATWindowP wndP, bool noInitialUpdate)</td></tr>
<tr class="memdesc:af6510ac9c5535ce8a1459cd9e8ead5f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">显示窗体  <a href="../../d5/d93/_a_t_window_funcs_8h.html#af6510ac9c5535ce8a1459cd9e8ead5f8">更多...</a><br /></td></tr>
<tr class="separator:af6510ac9c5535ce8a1459cd9e8ead5f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b28474458a312720ffcc8729286e6e5"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d93/_a_t_window_funcs_8h.html#a0b28474458a312720ffcc8729286e6e5">atWindow_toFront</a> (ATWindowP wndP)</td></tr>
<tr class="memdesc:a0b28474458a312720ffcc8729286e6e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">将窗体置于最前端  <a href="../../d5/d93/_a_t_window_funcs_8h.html#a0b28474458a312720ffcc8729286e6e5">更多...</a><br /></td></tr>
<tr class="separator:a0b28474458a312720ffcc8729286e6e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25c5e4df621b2b099d9dba0826eb50f9"><td class="memItemLeft" align="right" valign="top">ATECCORE_EXPORTED <a class="el" href="../../d2/dc4/struct_a_t_dialog.html">ATDialog</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d93/_a_t_window_funcs_8h.html#a25c5e4df621b2b099d9dba0826eb50f9">atWindow_viewWindowGet</a> (int viewNum)</td></tr>
<tr class="memdesc:a25c5e4df621b2b099d9dba0826eb50f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取视图编码关联的窗体对象  <a href="../../d5/d93/_a_t_window_funcs_8h.html#a25c5e4df621b2b099d9dba0826eb50f9">更多...</a><br /></td></tr>
<tr class="separator:a25c5e4df621b2b099d9dba0826eb50f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><dl class="section author"><dt>作者</dt><dd>SZEWC </dd></dl>
<dl class="section date"><dt>日期</dt><dd>2022/04/28 </dd></dl>
</div><h2 class="groupheader">函数说明</h2>
<a id="a9e904af3d296778e189c1e5dc794e8ab" name="a9e904af3d296778e189c1e5dc794e8ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e904af3d296778e189c1e5dc794e8ab">&#9670;&nbsp;</a></span>atWindow_contentRectGetLocal()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt atWindow_contentRectGetLocal </td>
          <td>(</td>
          <td class="paramtype">ATEC_NAMESPACE_NAME::ATRectP&#160;</td>
          <td class="paramname"><em>contentRectP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATWindowP&#160;</td>
          <td class="paramname"><em>wndP</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>以窗体局部坐标的方式获取窗体内容矩形 </p>
<dl class="section note"><dt>注解</dt><dd>每个窗体有一个内容和全局矩形。内容矩形是窗体内容绘制的部分，而全局矩形包括内容矩形、边框和标题栏。</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ATEC_NAMESPACE_NAME::ATRectP</td><td>contentRectP 局部坐标下的内容矩形 </td></tr>
    <tr><td class="paramname">ATWindowP</td><td>windowP 窗体 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt 成功时返回SUCCESS</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/18 </dd></dl>

</div>
</div>
<a id="a30a46f2548012ee5aca90e27b3b48d29" name="a30a46f2548012ee5aca90e27b3b48d29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30a46f2548012ee5aca90e27b3b48d29">&#9670;&nbsp;</a></span>atWindow_extentSet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED void atWindow_extentSet </td>
          <td>(</td>
          <td class="paramtype">ATWindowP&#160;</td>
          <td class="paramname"><em>wndP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>newWidth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>newHeight</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>调整窗体的大小 </p>
<dl class="section note"><dt>注解</dt><dd>一般来说，通过移动右下角点来调整窗体的大小；但是如果DIALOGATTR_RESIZESINWARD属性被使用时，将通过移动合适的角点来改变窗体的大小</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ATWindowP</td><td>windowP 窗体 </td></tr>
    <tr><td class="paramname">int</td><td>newWidth 新宽度 </td></tr>
    <tr><td class="paramname">int</td><td>newHeight 新高度 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/18 </dd></dl>

</div>
</div>
<a id="a70c7deaaa5398f820c8d49a8cc8bcf65" name="a70c7deaaa5398f820c8d49a8cc8bcf65"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70c7deaaa5398f820c8d49a8cc8bcf65">&#9670;&nbsp;</a></span>atWindow_getSelectedViewIndex()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED int atWindow_getSelectedViewIndex </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取当前选择的视口窗体的索引（索引从0开始） </p>
<dl class="section note"><dt>注解</dt><dd>点击窗体的标题栏或者在视口窗体内输入数据点或试验点将选中该窗体</dd></dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED int 视口索引（索引从0开始）</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/18 </dd></dl>

</div>
</div>
<a id="ab23738ab213194dd151de933a65545a8" name="ab23738ab213194dd151de933a65545a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab23738ab213194dd151de933a65545a8">&#9670;&nbsp;</a></span>atWindow_globalPointConversionIncrease()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED void atWindow_globalPointConversionIncrease </td>
          <td>(</td>
          <td class="paramtype">ATEC_NAMESPACE_NAME::Point2d *&#160;</td>
          <td class="paramname"><em>newGlobalPtP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATWindowP&#160;</td>
          <td class="paramname"><em>wndP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATEC_NAMESPACE_NAME::Point2dCP&#160;</td>
          <td class="paramname"><em>oldGlobalPtP</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>当Ribbon界面存在时，为了正确的定位弹出窗的位置，全局坐标需要一个考虑Ribbon高度的转换，该接口用于将全局点考虑Ribbon高度进行一个转换 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ATEC_NAMESPACE_NAME::Point2d</td><td>* newGlobalPtP 更新后的全局坐标点 </td></tr>
    <tr><td class="paramname">ATWindowP</td><td>windowP 坐标点关联的窗体 </td></tr>
    <tr><td class="paramname">ATEC_NAMESPACE_NAME::Point2dCP</td><td>oldGlobalPtP 旧的全局坐标点；传NULL时newGlobalPtP进行原地更新 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/18 </dd></dl>

</div>
</div>
<a id="aa53d231e7a006a12c8643d58926c5031" name="aa53d231e7a006a12c8643d58926c5031"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa53d231e7a006a12c8643d58926c5031">&#9670;&nbsp;</a></span>atWindow_globalPointToScreen()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED void atWindow_globalPointToScreen </td>
          <td>(</td>
          <td class="paramtype">ATEC_NAMESPACE_NAME::Point2d *&#160;</td>
          <td class="paramname"><em>screenPtP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATWindowP&#160;</td>
          <td class="paramname"><em>wndP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATEC_NAMESPACE_NAME::Point2dCP&#160;</td>
          <td class="paramname"><em>globalPtP</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将全局坐标系下的一个点转化为给定窗体的屏幕坐标 </p>
<dl class="section note"><dt>注解</dt><dd>当globalPtP为NULL，转换为原地转换，即screenPtP既是输入也是输出</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ATEC_NAMESPACE_NAME::Point2d</td><td>* screenPtP 屏幕坐标 </td></tr>
    <tr><td class="paramname">ATWindowP</td><td>windowP 窗体 </td></tr>
    <tr><td class="paramname">ATEC_NAMESPACE_NAME::Point2dCP</td><td>globalPtP 全局坐标 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/18 </dd></dl>

</div>
</div>
<a id="a86a536dc794afeeea2f3121e3bd30fb8" name="a86a536dc794afeeea2f3121e3bd30fb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86a536dc794afeeea2f3121e3bd30fb8">&#9670;&nbsp;</a></span>atWindow_globalRectGetGlobal()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt atWindow_globalRectGetGlobal </td>
          <td>(</td>
          <td class="paramtype">ATEC_NAMESPACE_NAME::ATRectP&#160;</td>
          <td class="paramname"><em>rP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATWindowP&#160;</td>
          <td class="paramname"><em>wndP</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取全局坐标表示的窗体全局矩形 </p>
<dl class="section note"><dt>注解</dt><dd>每个窗体有一个内容和全局矩形。内容矩形是窗体内容绘制的部分，而全局矩形包括内容矩形、边框和标题栏。</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ATEC_NAMESPACE_NAME::ATRectP</td><td>rP 窗体全局矩形 </td></tr>
    <tr><td class="paramname">ATWindowP</td><td>windowP 窗体 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt 成功时返回SUCCESS</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/18 </dd></dl>

</div>
</div>
<a id="a9a47d2dd0da8366e17b368ad5eb93807" name="a9a47d2dd0da8366e17b368ad5eb93807"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a47d2dd0da8366e17b368ad5eb93807">&#9670;&nbsp;</a></span>atWindow_hide()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt atWindow_hide </td>
          <td>(</td>
          <td class="paramtype">ATWindowP&#160;</td>
          <td class="paramname"><em>wndP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HideReasonCode&#160;</td>
          <td class="paramname"><em>reasonCode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>bypassFocusOut</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>临时隐藏一个窗体 </p>
<dl class="section note"><dt>注解</dt><dd>brWindow_show用于显示一个窗体；brWindow_close将关闭并重分配一个窗体，窗体windowP将无效</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ATWindowP</td><td>windowP 窗体 </td></tr>
    <tr><td class="paramname">HideReasonCode</td><td>reasonCode 关闭的原因 </td></tr>
    <tr><td class="paramname">bool</td><td>bypassFocusOut 忽略失去焦点，通常传false </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt 成功时返回SUCCESS</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/18 </dd></dl>

</div>
</div>
<a id="a575a694e53d80290a31eb2af14af4246" name="a575a694e53d80290a31eb2af14af4246"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a575a694e53d80290a31eb2af14af4246">&#9670;&nbsp;</a></span>atWindow_isDisplayed()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED bool atWindow_isDisplayed </td>
          <td>(</td>
          <td class="paramtype">ATWindowP&#160;</td>
          <td class="paramname"><em>wndP</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>检查一个窗体是否正在显示 </p>
<dl class="section note"><dt>注解</dt><dd>当一个窗体被创建但是从未显示过或者被显示过但是现在被隐藏了而且未被销毁时，该窗体并未显示</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ATWindowP</td><td>windowP 窗体 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED bool 是否正在显示</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/18 </dd></dl>

</div>
</div>
<a id="a0e67caed783e5e4e50e5fcc60e9e8087" name="a0e67caed783e5e4e50e5fcc60e9e8087"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e67caed783e5e4e50e5fcc60e9e8087">&#9670;&nbsp;</a></span>atWindow_isGlobalPointConversionRequired()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED bool atWindow_isGlobalPointConversionRequired </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>screenNum</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>当Ribbon界面存在时，为了正确的定位弹出窗的位置，全局坐标需要一个考虑Ribbon高度的转换，该接口用于判断是否需要该转换 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">int</td><td>screenNum 窗体编号 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED bool 是否需要变换</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/18 </dd></dl>

</div>
</div>
<a id="aed33aa58227a9e79308d52a4f349e1ab" name="aed33aa58227a9e79308d52a4f349e1ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed33aa58227a9e79308d52a4f349e1ab">&#9670;&nbsp;</a></span>atWindow_isMaximized()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED bool atWindow_isMaximized </td>
          <td>(</td>
          <td class="paramtype">ATWindowP&#160;</td>
          <td class="paramname"><em>wndP</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>窗体是否已最大化 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ATWindowP</td><td>windowP 窗体 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED bool 是否已最大化</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/18 </dd></dl>

</div>
</div>
<a id="a09cd3b80e0f460224dd0d28206e98220" name="a09cd3b80e0f460224dd0d28206e98220"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09cd3b80e0f460224dd0d28206e98220">&#9670;&nbsp;</a></span>atWindow_isVisible()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED bool atWindow_isVisible </td>
          <td>(</td>
          <td class="paramtype">ATWindowP&#160;</td>
          <td class="paramname"><em>wndP</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>检查一个窗体是否可见 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ATWindowP</td><td>windowP 窗体 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED bool 是否可见</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/18 </dd></dl>

</div>
</div>
<a id="a57c2ced222e47169232e6df999505292" name="a57c2ced222e47169232e6df999505292"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a57c2ced222e47169232e6df999505292">&#9670;&nbsp;</a></span>atWindow_maximize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED int atWindow_maximize </td>
          <td>(</td>
          <td class="paramtype">ATWindowP&#160;</td>
          <td class="paramname"><em>wndP</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将窗体最大化 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ATWindowP</td><td>windowP 窗体 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED int 成功时返回SUCCESS</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/18 </dd></dl>

</div>
</div>
<a id="aa4c30e824399371b6bcbb2bc9a6b9db4" name="aa4c30e824399371b6bcbb2bc9a6b9db4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4c30e824399371b6bcbb2bc9a6b9db4">&#9670;&nbsp;</a></span>atWindow_resize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt atWindow_resize </td>
          <td>(</td>
          <td class="paramtype">ATWindowP&#160;</td>
          <td class="paramname"><em>wndP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>cornerNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATEC_NAMESPACE_NAME::Point2dCP&#160;</td>
          <td class="paramname"><em>newPositionP</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">  @brief 调整给点给窗体的大小

  @param ATWindowP windowP                                  待调整的窗体
  @param int cornerNum                                      移动的角点，CORNER_UPPERLEFT,
</pre><p> CORNER_LOWERLEFT, CORNER_LOWERRIGHT, CORNER_UPPERRIGHT或CORNER_ALL </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ATEC_NAMESPACE_NAME::Point2dCP</td><td>newPositionP 角点在全局坐标系的新位置 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt 成功时返回SUCCESS</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/18 </dd></dl>

</div>
</div>
<a id="a3bc2fd51275566da931c7eb6606bb7c3" name="a3bc2fd51275566da931c7eb6606bb7c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bc2fd51275566da931c7eb6606bb7c3">&#9670;&nbsp;</a></span>atWindow_setSystemCursor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt atWindow_setSystemCursor </td>
          <td>(</td>
          <td class="paramtype">SYSTEMCURSOR&#160;</td>
          <td class="paramname"><em>systemCursor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将鼠标光标设置为SYSTEMCURSOR枚举中定义的某一系统光标 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">SYSTEMCURSOR</td><td>systemCursor 系统光标 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt 成功时返回SUCCESS</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/18 </dd></dl>

</div>
</div>
<a id="af6510ac9c5535ce8a1459cd9e8ead5f8" name="af6510ac9c5535ce8a1459cd9e8ead5f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6510ac9c5535ce8a1459cd9e8ead5f8">&#9670;&nbsp;</a></span>atWindow_show()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt atWindow_show </td>
          <td>(</td>
          <td class="paramtype">ATWindowP&#160;</td>
          <td class="paramname"><em>wndP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>noInitialUpdate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>显示窗体 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ATWindowP</td><td>windowP 待显示的窗体 </td></tr>
    <tr><td class="paramname">bool</td><td>noInitialUpdate 是否是第一次显示，通常传false </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt 成功时返回SUCCESS</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/18 </dd></dl>

</div>
</div>
<a id="a0b28474458a312720ffcc8729286e6e5" name="a0b28474458a312720ffcc8729286e6e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b28474458a312720ffcc8729286e6e5">&#9670;&nbsp;</a></span>atWindow_toFront()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt atWindow_toFront </td>
          <td>(</td>
          <td class="paramtype">ATWindowP&#160;</td>
          <td class="paramname"><em>wndP</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将窗体置于最前端 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ATWindowP</td><td>windowP 窗体 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt 成功时返回SUCCESS</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/18 </dd></dl>

</div>
</div>
<a id="a25c5e4df621b2b099d9dba0826eb50f9" name="a25c5e4df621b2b099d9dba0826eb50f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a25c5e4df621b2b099d9dba0826eb50f9">&#9670;&nbsp;</a></span>atWindow_viewWindowGet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATECCORE_EXPORTED <a class="el" href="../../d2/dc4/struct_a_t_dialog.html">ATDialog</a> * atWindow_viewWindowGet </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>viewNum</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取视图编码关联的窗体对象 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">int</td><td>viewNum 视图编码 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATECCORE_EXPORTED <a class="el" href="../../d2/dc4/struct_a_t_dialog.html" title="该类为平台对话框与视图窗体的基类">ATDialog</a> * 窗体对象或NULL</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/18 </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
